import type { RouteType } from '~/types/router'
const Layout = () => import('@/layout/index.vue')

export default {
  name: 'GoodsSku',
  path: '/GoodsSku',
  component: Layout,
  redirect: '/GoodsSku/List',
  meta: {
    order: 7,
    title: '规格管理',
    icon: 'ic:sharp-vertical-distribute',
  },
  children: [
    {
      name: 'GoodsSkuList',
      path: 'List',
      component: () => import('./list/index.vue'),
      meta: {
        title: '规格列表',
        icon: 'ion:ellipsis-vertical-circle',
      },
    },
    {
      path: 'Sku',
      name: 'GoodsSkuSku',
      component: () => import('./sku/index.vue'),
      meta: {
        title: 'sku列表',
        icon: 'ion:ellipsis-vertical-sharp',
      },
    },
  ],
} as RouteType
